<taglib name='artc' />
<link href="/Web/Tpl/default/Public/css/style.css" rel="stylesheet" type="text/css" />
<!-- 加载头部公共文件 -->
<include file="./Public/Tpl/3.html" />
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0" background="/Web/Tpl/default/Public/images/hotel_18.jpg">
  <tr valign="top">
    <td height="148"><br>
      <form name="form1" method="post" action="__APP__/Order/save" onSubmit="return check_submit()">
        <table width="80%" height="295"  border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#F9DBC6" style="color:#FFFFFF ">
          <tr bgcolor="#814B3F">
            <td height="32" colspan="2" align="center"><h3>客房预订</h3></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td width="17%" height="28" align="right" class="f1" >入住日期：</td>
            <td width="83%" class="f2" ><input name="begin_date" type="text" id="begin_date" size="14" value="{$begin_date}">
				<img src="/Web/Tpl/default/Public/images/date_sel.jpg" width="32" height="21" border="0" align="absmiddle" class="btn">
			</td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >离店日期：</td>
            <td class="f2" ><input name="end_date" type="text" id="end_date" size="14" value="{$end_date}">
            <img src="/Web/Tpl/default/Public/images/date_sel.jpg" width="32" height="21" border="0" align="absmiddle" class="btn"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >入住人数：</td>
            <td class="f2" ><input name="person_num" type="text" size="14" id="person_num" value="{$person_num}"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >联系人：</td>
            <td class="f2" ><input name="linkman" type="text" id="linkman"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >性别：</td>
            <td class="f2" ><input name="sex" type="radio" value="男" checked>
              男
                <input type="radio" name="sex" value="女">
            女</td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >联系电话：</td>
            <td class="f2" ><input name="phone" type="text" id="phone"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >QQ：</td>
            <td class="f2" ><input name="qq" type="text" id="qq"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" align="right" class="f1" >E-mail：</td>
            <td class="f2" ><input name="email" type="text" id="email"></td>
          </tr>
          <tr bgcolor="#D6B0A7">
            <td height="28" colspan="2" align="center" class="f1" ><input name="Submit" type="submit" class="btn" value="  提交  ">
            &nbsp;&nbsp;
            <input name="Submit2" type="button" class="btn" value="返回" onClick="history.back();"></td>
          </tr>
        </table>
    </form></td>
  </tr>
  <tr valign="top">
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="/Web/Tpl/default/Public/images/hotel_27.jpg" width="950" height="49" border="0" usemap="#Map"></td>
      </tr>
    </table>
      <table width="100%" height="131"  border="0" cellpadding="20" cellspacing="0">
        <tr>
          <td class="list_img"><Artc:list img_w="136" img_h="88" pid="4" tpl="8" size="5"  strlen="10"/></td>
        </tr>
      </table></td>
  </tr>
</table>
<script language="javascript">
function check_submit()
{
	if( $('#begin_date').val() == '' )
	{
		alert('请填写入住日期！');
		return false;
	}
	if( $('#end_date').val() == '' )
	{
		alert('请填写离店日期！');
		return false;
	}
	if( $('#person_num').val() == '' )
	{
		alert('请填写入住人数！');
		return false;
	}
	if( $('#linkman').val() == '' )
	{
		alert('请填写联系人！');
		return false;
	}
	if( $('#phone').val() == '' )
	{
		alert('请填写联系电话！');
		return false;
	}
}
</script>

<!-- 加载尾部公共文件 -->
<include file="./Public/Tpl/4.html" />
<map name="Map">
  <area shape="rect" coords="875,18,938,41" href="__APP__/Artc/sort/id/4">
</map>
